package model.service;

import java.sql.SQLException;
import java.util.HashMap;

import model.dao.SmsDAO;

public class SmsServiceImpl implements SmsService {
	private SmsDAO smsDAO;
	@Override
	public void setSmsDAO(SmsDAO smsDAO) {
		this.smsDAO = smsDAO;
	}
	//로그인 정보
	@Override
	public void insertLog(String logId,String G_Connect,String ip) throws SQLException {
		HashMap map=new HashMap();
		map.put("logID", logId);
		map.put("gConnect", G_Connect);
		map.put("conIp", ip);
		smsDAO.insertLog(map);
	}
}
